﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="lcmyjobs.Web.Error" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>出错啦</title>
    <script type="text/javascript">

        var i = 2; //声明全局变量
        function Dis() {
            var text = document.getElementById("Label1");
            text.innerText = i;
            i = i - 1;
            if (i >= 0) {
                setTimeout("Dis()", 1000); //递归调用 每一秒调用一次本身
            }
            else {
                top.location.replace("Frame.aspx")
            }

        }

        </script>
    </head>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;出错了！！ 系统将在<asp:Label ID="Label1" runat="server"></asp:Label>秒后返回主页......</div>
    </form>
</body>
</html>
